package com.hzit.pay.web.service.impl;

import com.hzit.pay.web.mapper.MchInfoMapper;
import com.hzit.pay.web.model.MchInfo;
import com.hzit.pay.web.service.IMchInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MchInfoServiceImpl implements IMchInfoService {

    @Autowired
    private MchInfoMapper mchInfoMapper;

    @Override
    public MchInfo getMchInfoByMchId(String mchId) {
        MchInfo mchInfo = mchInfoMapper.selectByPrimaryKey(mchId);
        return mchInfo;
    }
}
